using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using Microsoft.Health.Samples.PatientConnect.TreyResearch.HealthVaultAdapter;
namespace HVAdapterUnitTestCases
{
    [TestFixture]
    public class OutboundTestCases
    {
        [Test, Description("Uploads the CCR document to health vault")]
        public void TestUploadCCR()
        {
            string message = string.Empty;
            PushHealthVaultItemTypes outbound = new PushHealthVaultItemTypes(new Guid("85dbe60d-e191-44f8-b387-59bc5269ae8a"));
            outbound.UploadCcr(@"..\..\..\HVAdapterUnitTestCases\Content\SampleCCRCCD\SampleCCR.xml",
                new Guid("ec588ef3-8f91-4fac-851c-a7ff808c4354"),
                new Guid("87ee34a4-dae8-48e6-a016-c833bb351311"));
        }
        [Test, Description("Uploads the CCR document to health vault")]
        public void TestUploadCCD()
        {
            PushHealthVaultItemTypes outbound = new PushHealthVaultItemTypes(new Guid("85dbe60d-e191-44f8-b387-59bc5269ae8a"));
            outbound.UploadCcd(@"..\..\..\HVAdapterUnitTestCases\Content\SampleCCRCCD\SampleCCD.xml",
                new Guid("ec588ef3-8f91-4fac-851c-a7ff808c4354"),
                new Guid("87ee34a4-dae8-48e6-a016-c833bb351311"));
        }
        [Test, Description("Uploads the LabResult document to health vault")]
        public void TestUploadLabResults()
        {
            PushHealthVaultItemTypes outbound = new PushHealthVaultItemTypes(new Guid("85dbe60d-e191-44f8-b387-59bc5269ae8a"));
            outbound.UploadLabResults(@"..\..\..\HVAdapterUnitTestCases\Content\SampleCCRCCD\SampleLabTestResult.xml",
                new Guid("ec588ef3-8f91-4fac-851c-a7ff808c4354"),
                new Guid("87ee34a4-dae8-48e6-a016-c833bb351311"));
        }
    }
}
